package com.qc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qc.dao.CashDao;
import com.qc.service.CashService;

@Service("cashService")
public class CashServiceImpl implements CashService{

    @Resource(name="cashDao")
    private CashDao cashDao;
    
    
    @Override
    public int getListCashCount(String userName, String userRole, String time) {

        return cashDao.getListCashCount(userName, userRole, time);
    }

    @Override
    public List getAllCash(String userName, String userRole, String time,
            int pageNo, int pageSize) {

        return cashDao.getAllCash(userName, userRole, time, pageNo, pageSize);
    }

}
